<?php function _tag_phpcms_tag_content_slide($data, $number, $rows, $count, $page, $pages, $setting){ global $PHPCMS,$MODULE,$M,$CATEGORY,$TYPE,$AREA,$GROUP,$MODEL,$templateid,$_userid,$_username;@extract($setting);?><?php if(is_array($data)) foreach($data AS $n => $r) { ?>
<?php $mypic .= thumb($r[thumb], $width, $height).'#'.str_replace('"',"'",$r[title]).'#'.$r[url].'|';?>
<?php } ?>
<?php $mypic=substr($mypic,0,-1);?>
  <object width="<?php echo $width;?>" height="<?php echo $height;?>" type="application/x-shockwave-flash" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="demo">
    <param value="/img/focus1.swf" name="movie"/>
    <param value="best" name="quality"/>
    <param value="#ffffff" name="bgcolor"/>
    <param value="transparent" name="wmode"/>
    <param value="mypic=<?php echo $mypic;?>" name="flashvars"/>
    <embed width="<?php echo $width;?>" height="<?php echo $height;?>" flashvars="mypic=<?php echo $mypic;?>" wmode="transparent" bgcolor="#ffffff" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="best" src="/img/focus1.swf" id="demo"/>    
  </object>
<?php } ?>